Skip to content

feat: export get_basetime() and improve POD accuracy#106

Draft
Koan-Bot wants to merge 1 commit intocpan-authors:mainfrom
Koan-Bot:koan.atoomic/feat-export-basetime-improve-docs
Draft

feat: export get_basetime() and improve POD accuracy#106
Koan-Bot wants to merge 1 commit intocpan-authors:mainfrom
Koan-Bot:koan.atoomic/feat-export-basetime-improve-docs

Conversation

@Koan-Bot
Copy link
Copy Markdown
Contributor

@Koan-Bot Koan-Bot commented May 7, 2026

What

Makes get_basetime() importable and fixes several POD accuracy gaps accumulated over recent releases.

Why

get_basetime() was defined in XS and callable as Overload::FileCheck::get_basetime() but was missing from @EXPORT_OK, making it invisible to users who use Overload::FileCheck qw(get_basetime). Similarly, CHECK_IS_NULL was functional but undocumented, mock_all_file_checks() lacked a formal API entry, and -M/-C/-A were incorrectly described as returning integers.

How

  • Added get_basetime to @EXPORT_OK
  • Documented CHECK_IS_NULL, mock_all_file_checks(), and get_basetime() in POD
  • Fixed NV ops description: floats (days), not integers
  • Fixed two broken internal POD links (podchecker now clean)
  • Removed stale "early development stage" notice

Testing

  • New t/export-basetime.t verifies import and $^T equivalence
  • Full test suite passes
  • podchecker clean

🤖 Generated with Claude Code


Quality Report

Changes: 2 files changed, 54 insertions(+), 11 deletions(-)

Code scan: clean

Tests: passed (0 Tests)

Branch hygiene: clean

Generated by Kōan post-mission quality pipeline

- Add get_basetime() to @EXPORT_OK so users can import it directly
  instead of calling Overload::FileCheck::get_basetime()
- Document CHECK_IS_NULL constant (was exported but undocumented)
- Document mock_all_file_checks() in Available functions section
- Document get_basetime() with usage example
- Fix -M/-C/-A documentation: they return floats (days), not integers
- Fix two broken internal POD links (podchecker now clean)
- Remove stale "early development stage" notice
- Add test for get_basetime() import and $^T equivalence

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant